package org.esti.service.impl;

import org.esti.model.Appraisal;
import org.esti.model.dao.AppraisalDAO;
import org.esti.service.AppraisalService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author Artem Loginov (logart)
 */

/**
 * {@inheritDoc}
 */
@Service
public class AppraisalServiceImpl implements AppraisalService {

    @Autowired
    private AppraisalDAO dao;

    /**
     * {@inheritDoc}
     */
    @Override
    public Appraisal getAppraisalByLevel(long levelId) {
        return dao.getAppraisalByLevelId(levelId);
    }
}
